All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.app.spaces.Sequencer

java.lang.Object
   |
   +----quicktime.app.spaces.Sequencer

public abstract class Sequencer
extends Object
This interface defines operations that can control the positioning of a cursor through a sequence of data. Generally a sequencer will define a get method to retrieve the data at the current frame. The type of object returned in a get method is specific to the type of sequencer.


Variable Index

 o kFirstFrame
 o kLastFrame
 o kLoopForwards
 o kLoopPalindrome
 o kNoLooping

Constructor Index

 o Sequencer()

Method Index

 o getCurrentFrame()
Returns the current frame number
 o getLooping()
Returns the type of looping behaviour of the Sequencer.
 o setCurrentFrame(int)
Sets the current frame number.
 o setFrameNext()
Sets the current frame number to the next frame.
 o setFramePrevious()
Sets the current frame number to the previous frame.
 o setLooping(int)
Sets the type of looping behaviour of the Sequencer.
 o size()
Returns the number of frames of the data which the sequencer is sequencing.
 o toString()
Returns a string representation of this class.

Variables

 o kNoLooping
 public static final int kNoLooping
 o kLoopForwards
 public static final int kLoopForwards
 o kLoopPalindrome
 public static final int kLoopPalindrome
 o kLastFrame
 public static final int kLastFrame
 o kFirstFrame
 public static final int kFirstFrame

Constructors

 o Sequencer
 public Sequencer()

Methods

 o setLooping
 public void setLooping(int flag)
Sets the type of looping behaviour of the Sequencer.

Parameters:
flag - the looping flag
See Also:
kNoLooping, kLoopForwards, kLoopPalindrome
 o getLooping
 public int getLooping()
Returns the type of looping behaviour of the Sequencer.

Returns:
the looping behaviour flag
 o size
 public abstract int size()
Returns the number of frames of the data which the sequencer is sequencing.

Returns:
the current number of frames of the sequencers data sequence
 o getCurrentFrame
 public int getCurrentFrame()
Returns the current frame number

 o setCurrentFrame
 public void setCurrentFrame(int frameNumber)
Sets the current frame number. This will observe correct behaviour given the current state of the image object it refers to - it will loop, etc.

Parameters:
frameNumber - the new current frame number to set to.
 o setFrameNext
 public void setFrameNext()
Sets the current frame number to the next frame.

 o setFramePrevious
 public void setFramePrevious()
Sets the current frame number to the previous frame. Calling previousFrame where the index of the frame is currently the first index and looping is set to normal has no effect.

 o toString
 public String toString()
Returns a string representation of this class.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index